<div id="wrapper_header" class="vitri_blogdetail">
    <div class="left blog_detail">
        <h2 class="title"><?php echo $arrDetailArticle['title']; ?></h2>
        <div class="content">
            <?php echo str_replace("../","",$arrDetailArticle['content']); ?>
        </div>
    </div>
</div>
 <?php 
$related = $modelHome->getNewsRelated($article_id,$arrDetailArticle['category_id']);
if(mysql_num_rows($related)>0){
?>
<div id="wrapper_header" style=".margin-bottom:20px;">
    <div class="left blog_hot">
        <h2 class="title"><?php echo $row_detail_cate_parent['cate_name'];?></h2>
        <ul>
            <?php             
            while($row = mysql_fetch_assoc($related)){
            ?>
            <li>
                <p class="pics_blog"><a href="<?php echo $row['title_alias']; ?>-<?php echo $row['article_id']; ?>.html"><img align="absmiddle" src="<?php echo str_replace("../upload/blog", "upload/blog/r",$row['url_images'])?>"></a></p>
                <h2 style="text-overflow:ellipsis;" class="title_blog"><a href="<?php echo $row['title_alias']; ?>-<?php echo $row['article_id']; ?>.html"><?php echo $row['title']; ?></a></h2>
                <p class="lead_blog"><?php echo $row['description']; ?></p>
            </li>
            <?php } ?>
       </ul>
    </div>
</div>
<?php } ?>